<template>
	<view class="bg-white margin-tb">
		<view class="padding" v-if="info.status=='RUNNING'">任务正在运行！</view>
		<view class="padding" v-if="info.status=='SUCCESS'">任务成功运行！</view>
		<view class="padding text-wrap" v-if="info.status=='ERROR'" v-html="info.stackTrace || ''"></view>
	</view>
</template>

<script>
export default {
	onLoad: function(option) {
		this.info = JSON.parse(decodeURIComponent(option.info || '{}'));
	},
	onShow: function() {},
	onReady: function() {},
	onReachBottom: function() {},
	data() {
		return {
			info: {}
		};
	},
	methods: {
		//
	}
}
</script>

<style lang="scss" scoped>
</style>
